﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace EsDemo.Es
{
    public interface IVisitLogRepository
    {
        Task InsertAsync(VisitLog visitLog);
        Task  InsertOtherAsync( VisitLog visitLog);

        Task DeleteAsync(string id);

        Task UpdateAsync(VisitLog visitLog);

        Task<Tuple<int, IList<VisitLog>>> QueryAsync(int page, int limit);
        Task<Tuple<int, IList<VisitLog>>> QueryListAsync(int page, int limit, string fildStr);

    }
}
